// 导航
.bg-body-tertiary {
  background-color: transparent !important;
  .navbar-collapse {
    flex-grow: 0;
  }
}

// 轮播图: 小于768图片高度250 max；大于等于768图片高度400 min；大于等于992图片高度500
.carousel {
  @media(min-width: 0) {
    .carousel-item {
      height: 250px;
    }
  }

  @media(min-width: 768px) {
    .carousel-item {
      height: 400px;
    }
  }

  @media(min-width: 992px) {
    .carousel-item {
      height: 500px;
    }
  }

  .carousel-item:nth-child(1) {
    background: url(../assets/uploads/banner_1.jpg) no-repeat center 0 / cover;
  }
  .carousel-item:nth-child(2) {
    background: url(../assets/uploads/banner_2.jpg) no-repeat center 0 / cover;
  }
  .carousel-item:nth-child(3) {
    background: url(../assets/uploads/banner_3.jpg) no-repeat center 0 / cover;
  }
  .carousel-item:nth-child(4) {
    background: url(../assets/uploads/banner_4.jpg) no-repeat center 0 / cover;
  }
}

.project {
  margin-top: 60px;
  text-align: center;
  .row {
    div {
      height: 200px;
      margin-bottom: 10px;
      a {
        display: block;
        height: 100%;
      }
    }

    div:nth-child(1) a {
      background-color: #70c3ff;
    }
    div:nth-child(2) a {
      background-color: #fd6a7f;
    }
    div:nth-child(3) a {
      background-color: #7f8ea0;
    }
    div:nth-child(4) a {
      background-color: #89d04f;
    }
  }
}